package tgc.edu.fhh.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import tgc.edu.fhh.custom.BaseEntity;

@Entity
public class Grade extends BaseEntity<Integer> {
	private String grade;
	@ManyToOne
	private Student student;
	@ManyToOne
	private Course course;

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public Grade(String grade, Student student, Course course) {
		super();
		this.grade = grade;
		this.student = student;
		this.course = course;
	}

	public Grade() {
		super();
	}

	public Grade(Integer id) {
		super(id);
	}

	public Grade(int i, Student student2, Course course2) {
		// TODO Auto-generated constructor stub
	}

	
}
